//
//  DDJobfindersService.h
//  DingDongZP
//
//  Created by Jyh on 16/4/10.
//  Copyright © 2016年 iyhjiang.com. All rights reserved.
//

#import "DDBaseService.h"

@interface DDJobfindersService : DDBaseService

+ (DDJobfindersService *)shareInstance;
/**
 *  请求牛人信息， 无需传入token
 *
 *  @param page         页码 从0开始， 不传默认返回第一页
 *  @param successBlock
 *  @param failBlock
 */
- (void)queryJobfindersWithPage:(NSString *)page
             successBlock:(successBlock)successBlock
                failBlock:(faileBlock)failBlock;


/**
 *  登录状态下，请求牛人微简历接口
 *
 *  @param jobfinderId  牛人ID
 *  @param successBlock
 *  @param failBlock
 */
- (void)queryJobfindersDetailWithId:(NSString *)jobfinderId
                   successBlock:(successBlock)successBlock
                      failBlock:(faileBlock)failBlock;

/**
 *  Boss 端查询某牛人是否已经标注为感兴趣
 *
 *  @param jobfinderId  // 某牛人 ID
 *  @param successBlock
 *  @param failBlock
 */
- (void)queryJobfindersInterestingStatusWithJobfindeId:(NSString *)jobfinderId
                       successBlock:(successBlock)successBlock
                          failBlock:(faileBlock)failBlock;

// 切换某牛人是否感兴趣
- (void)markJobfindersInterestingStatusWithJobfindeId:(NSString *)jobfinderId
                                          successBlock:(successBlock)successBlock
                                             failBlock:(faileBlock)failBlock;



/**
 *  Boss端请求发现页轮播图
 *
 *  @param callback 轮播图数组
 */
- (void)queryBossAdsArray:(void (^)(NSArray *ads))callback;

@end
